<template>
  <div class="content">
    <div class="title">欢迎进入考古加平台</div>
  </div>
</template>
<script lang="ts" setup>
defineOptions({
  name: 'KgjIndex'
});

</script>
<style lang="scss" scoped>
@keyframes text {
  0% {
    width: 0;
  }
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70vh;
  border-radius: 4px;

  .title {
    width: 10em;
    overflow: hidden;
    font-size: 33px;
    color: #333;

    /* 规定段落中的文本不进行换行： */
    white-space: nowrap;

    /* 帧动画 */
    animation: text steps(10) 5s infinite;
  }
}
</style>
